﻿using System;

namespace U01_boke
{
    /// <summary>
    /// 留言数据观察者
    /// </summary>
    public class MessageViewer
    {
        public int ID { get; set; }
        public string Content { get; set; }
        public DateTime CreateTime { get; set; }
        public string CreateTimeFormat
        {
            get
            {
                return CreateTime.ToString("yyyy-MM-dd hh:mm:ss");
            }
        }
        public string Name { get; set; }
        public string HeadImg { get; set; }
        public string IP { get; set; }
        public string Country { get; set; }
        public string Region { get; set; }
        public string City { get; set; }
        public string County { get; set; }
        public string Isp { get; set; }
    }
}